<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">

        <div class="layui-form-item  layui-row layui-col-xs12">
            <label class="layui-form-label required">上级栏目</label>
            <div class="layui-input-block">
                <select name="pid">
                    {foreach $pidCateList as $vo}
                    <option value="{$vo.id}" {if $row.pid==$vo.id}selected=""{/if}>{$vo.title|raw}</option>
                    {/foreach}
                </select>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label required">栏目名称</label>
            <div class="layui-input-block">
                <input type="text" name="title" class="layui-input" lay-verify="required" lay-reqtext="请输入栏目名称" placeholder="请输入栏目名称" value="{$row.title|default=''}">
                <tip>填写栏目名称。</tip>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label required">英文别名</label>
            <div class="layui-input-block">
                <input type="text" name="alias" class="layui-input" placeholder="用于列表页网址别名" value="{$row.alias|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label required">SEO标题</label>
            <div class="layui-input-block">
                <input type="text" name="seo_title" class="layui-input" placeholder="请输入栏目名称" value="{$row.seo_title|default=''}">
                <tip>建议用小写英文单词或拼音。</tip>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label required">列表页模板</label>
            <div class="layui-input-block">
                <input type="text" name="list_template" class="layui-input" lay-verify="required" lay-reqtext="请输入列表页标题"  value="{$row.list_template|default='list'}">

            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label required">详情页模板</label>
            <div class="layui-input-block">
                <input type="text" name="detail_template" class="layui-input" lay-verify="required" lay-reqtext="请输入详情页标题" placeholder="请输入栏目名称" value="{$row.detail_template|default='list'}">

            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">选择图标</label>
            <div class="layui-input-block">
                <input type="text" id="icon" name="icon" lay-filter="icon" class="hide" value="{$row.icon|default=''}">
            </div>
        </div>



        <div class="layui-form-item">
            <label class="layui-form-label">栏目关键词</label>
            <div class="layui-input-block">
                <input type="text" name="keywords" lay-reqtext="栏目排序不能为空" placeholder="英文逗号分隔" value="{$row.keywords|default=''}" class="layui-input">
            </div>
        </div>


        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">备注信息</label>
            <div class="layui-input-block">
                <textarea name="description" class="layui-textarea" placeholder="请输入备注信息">{$row.description|default=''}</textarea>
            </div>
        </div>

        <div class="hr-line"></div>
        <div class="submit-info text-center">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
            <a class="layui-btn layui-btn-primary layui-btn-sm" layform-close>关闭</a>
        </div>

    </form>
</div>